﻿<Window 
  x:Class="Sample6.Proxies.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:pg="http://schemas.denisvuyka.wordpress.com/wpfpropertygrid"	
  Title="Proxies" Height="600" Width="800" WindowStartupLocation="CenterScreen">
  
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition />
      <ColumnDefinition />
    </Grid.ColumnDefinitions>

    <StackPanel x:Name="objectPanel" Grid.Column="0" Margin="0,10,10,0">
      <TextBlock TextWrapping="Wrap">
        This sample demonstrates a way providing a Proxy for a TextBox
      </TextBlock>
      <TextBox x:Name="TargetToProxy" Width="200"/>
    </StackPanel>

    <GridSplitter Width="2" Background="Black" />

		<pg:PropertyGrid x:Name="propertyGrid"
                     Grid.Column="1"                     
                     PropertyDisplayMode="All"
                     ShowAttachedProperties="False"
                     ShowReadOnlyProperties="False"                     
                     >
			<pg:PropertyGrid.Resources>
				<ResourceDictionary>
					<ResourceDictionary.MergedDictionaries>
						<pg:KaxamlTheme/>
					</ResourceDictionary.MergedDictionaries>
				</ResourceDictionary>
			</pg:PropertyGrid.Resources>
		</pg:PropertyGrid>
	</Grid> 
  
</Window>
